package com.ruoyi.common.domain.light.view;

import com.baomidou.mybatisplus.annotation.TableField;
import com.ruoyi.common.domain.light.LitErr;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 字典-设备表 dict_device
 *
 * @author ruoyi
 * @date 2022-02-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class LitErrView extends LitErr implements Serializable {


    private static final long serialVersionUID = 1L;


    private String errNameLv1;
    private String errNameLv2;
    private String deviceName;

    @TableField(exist = false)
    private String statusShowName;


    public String getStatusShowName() {
        return getStatus().getShowName();
    }


}